package com.hh.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * @Author 辉辉 2022/8/21 23:08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel("订单金额对象")
public class CartMoney {

    @ApiModelProperty("总金额")
    private BigDecimal totalMoney = new BigDecimal(0);

    @ApiModelProperty("优惠金额")
    private BigDecimal subtractMoney = new BigDecimal(0);

    @ApiModelProperty("最终金额")
    private BigDecimal finalMoney = new BigDecimal(0);

}
